﻿<%@ Page Title="登录" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="TeachingAffairsManagementSystem.Login" %>

<%@ Register Src="~/WebControl/AlertBox.ascx" TagPrefix="uc1" TagName="AlertBox" %>


<asp:Content runat="server" ContentPlaceHolderID="Head">
    <webopt:bundlereference runat="server" path="~/Content/Form.css"/>
</asp:Content>

<asp:Content runat="server" ContentPlaceHolderID="MainContent">
    <div class="col-xs-12 main-content">
        <div class="form-container">
            <div class="header-lined">
                <h1>
                    登录
                </h1>
            </div>
            <uc1:alertbox runat="server" id="Alert"/>

            <div class="row">
                <div class="col-sm-12">
                    <div class="form">
                        <div class="form-group">
                            <label>用户名 &nbsp;&nbsp;</label>
                            <asp:TextBox ID="TBUserName" runat="server" CssClass="form-control" placeholder="请输入用户名" autofocus="autofocus" MaxLength="45"></asp:TextBox>
                        </div>
                        <div class="form-group">
                            <label>密码 &nbsp;&nbsp;</label>
                            <asp:TextBox ID="TBPassword" runat="server" CssClass="form-control" placeholder="请输入密码" TextMode="Password" MaxLength="45"></asp:TextBox>
                        </div>
                        <div class="checkbox">
                            <label>
                                <input type="checkbox" runat="server" ID="CBRememberMe"/>
                                记住我
                            </label>
                        </div>
                        <div align="center">
                            <asp:Button ID="BtnLogin" runat="server" Text="登录" CssClass="btn btn-primary" OnClick="BtnLogin_Click"/>
                            <asp:HyperLink runat="server" NavigateUrl="~/FindPassword.aspx" CssClass="btn btn-default">忘记密码</asp:HyperLink>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


</asp:Content>